package com.example.ui.contact.bean;


/**
 * 提到我的
 * @author Leone
 *
 */
public class BaseItem implements Comparable<BaseItem> {
	private String response;
	private String UserId;
	private String UserId2;
	private String nickname;
	private String communityId;
	private String txt;
	private String dateLine;
	private String location;
	private String name;
	private String headPic;
	private long time;// 消息日期	
	public BaseItem(){
		
	}
	
	public String getResponse(){
		return response;
	}
	public void setResponse(String response){
		this.response = response;
	}


	public String getUserId() {
		return UserId;
	}

	public void setUserId(String userId) {
		UserId = userId;
	}	
	
	public String getUserId2() {
		return UserId;
	}

	public void setUserId2(String userId) {
		UserId = userId;
	}	
	public String getNick() {
		return nickname;
	}

	public void setNick(String nickname) {
		this.nickname = nickname;
	}
	
	public String getCommunityId(){
		return this.communityId;
	}
	public void setCommunityId(String communityId){
		this.communityId = communityId;
	}
	
	public String getTxt(){
		return txt;
	}
	public void setTxt(String txt){
		this.txt = txt;
	}
	
	
	public String getDateLine(){
		return dateLine;
	}
	public void setDateLine(String dateLine){
		this.dateLine = dateLine;
	}
	
	public String getLocation(){
		return location;
	}
	public void setLocation(String location){
		this.location = location;
	}

	public String getName(){
		return name;
	}
	public void setName(String name){
		this.name = name;
	}
	
	public String getHeadPic(){
		return headPic;
	}
	public void setHeadPic(String headPic){
		this.headPic = headPic;
	}
	
	
	
	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}
	@Override
	public int compareTo(BaseItem another) {
		return (int) (another.time - this.time);
	}	
}
